    <?php
class photoalbum_control extends SClass {

    public function process() {
        try {
            $form = new Forms_ContentForm(new Datasource_Photoalbum());
            $id = $this->getArgumentSecure('id');
            $this->setValue('form', $form->render($id));
        } catch (Exception $e) {
            Engine::GetQuery()->setContentNotFound();
        }
    }

}